package com.dsl.dslallinone.dto.fact;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 用水日事实表
 */
@Table("water_day_fact")
public class WaterDayFact {
    @Id
    private Long id;
    
    private String buildingId;
    private String floorId;
    private String deviceId;
    private String energyType;
    private LocalDate statDate;
    private BigDecimal value;
    private Integer isDel;

    public WaterDayFact() {}

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getBuildingId() { return buildingId; }
    public void setBuildingId(String buildingId) { this.buildingId = buildingId; }
    public String getFloorId() { return floorId; }
    public void setFloorId(String floorId) { this.floorId = floorId; }
    public String getDeviceId() { return deviceId; }
    public void setDeviceId(String deviceId) { this.deviceId = deviceId; }
    public String getEnergyType() { return energyType; }
    public void setEnergyType(String energyType) { this.energyType = energyType; }
    public LocalDate getStatDate() { return statDate; }
    public void setStatDate(LocalDate statDate) { this.statDate = statDate; }
    public BigDecimal getValue() { return value; }
    public void setValue(BigDecimal value) { this.value = value; }
    public Integer getIsDel() { return isDel; }
    public void setIsDel(Integer isDel) { this.isDel = isDel; }
}
